<template>
  <div class="fillcontain">
    <div class="contain" ref="contain">
      <div class="errPage-container cflex wflex">
        <img class="errorImg" :src="errorImg" />
      </div>
      <div class="errPage-container">
        <p class="errorTitle">401</p>
      </div>
      <div class="errPage-container">
        <p class="errorTro">抱歉,您没有权限访问该页面。</p>
      </div>
      <div class="errPage-container">
        <router-link :to="{ path: '/' }">
          <el-button size="mini" type="primary">返回首页</el-button>
        </router-link>
      </div>
    </div>
  </div>
</template>

<script>
import errorImg from "@/assets/img/401.png";

export default {
  name: "page401",
  data() {
    return {
      errorImg: errorImg,
    };
  },
  mounted() {},
  methods: {},
};
</script>

<style lang="less" scoped>
.contain {
  padding: 20px;
  .errPage-container {
    display: flex;
    justify-content: center;
    p {
      line-height: 30px;
    }
    .errorImg {
      width: 286px;
      height: 325px;
      margin-bottom: 10px;
    }
    .errorTitle {
      color: rgba(0, 0, 0, 0.85);
      font-size: 24px;
    }
    .errorTro {
      color: rgba(0, 0, 0, 0.45);
      font-size: 14px;
    }
    a {
      text-decoration: underline;
    }
  }
}
</style>
